package com.echo.im.client.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "im.client")
public class IMClientProperties {

    private boolean userStatusEnabled = false;
    private boolean messageRouteEnabled = false;

    // Getters and setters

    public boolean isUserStatusEnabled() {
        return userStatusEnabled;
    }

    public void setUserStatusEnabled(boolean userStatusEnabled) {
        this.userStatusEnabled = userStatusEnabled;
    }

    public boolean isMessageRouteEnabled() {
        return messageRouteEnabled;
    }

    public void setMessageRouteEnabled(boolean messageRouteEnabled) {
        this.messageRouteEnabled = messageRouteEnabled;
    }
}
